
<link type="text/css" href="inc/rl.css" rel="stylesheet">

<form id="form_add">
<input type="hidden" name="id" value="{[$smarty.request.id]}" />
<table>
	<tr>
		<td align="right" width="100">领导者：</td>
		<td><input type="text" name="leader" id="leader" value="" size="16"></td>
	</tr>
	<tr>
		<td align="right">被领导：</td>
		<td>
		<table id="priv_add" width="100%">
			<tr>
				<td colspan="3">查找：<input type="text" name="search" value="" id="search" size="16" /></td>
			</tr>
			<tr align="center">
				<td width="45%" height="210px"><select multiple="multiple" name="list[]" id="list" style="height: 100%; width: 80%;">
					{[foreach name=outer key=key item=item from=$result]}
					<option value="{[$item.id]}"{[$item.class]}>{[$item.name]} [{[$item.zjm]}/{[$item.dept]}]</option>
					{[/foreach]}
				</select> </select></td>
				<td width="10%">
				<div id="rl"><a href="#" id="addT" class="button">&raquo;</a><br />
				<a href="#" id="addAllT" class="button">&raquo;&raquo;</a><br />

				<a href="#" id="removeT" class="button">&laquo;</a><br />
				<a href="#" id="removeAllT" class="button">&laquo;&laquo;</a></div>
				</td>
				<td width="45%" height="210px"><select multiple="multiple" name="emp[]" id="emp" style="height: 100%; width: 80%;"></select></td>
			</tr>
		</table>
		</td>
	</tr>
</table>
</form>

<script type='text/javascript' src='js/emp/leader/add.js'></script>
